package com.hmt.pharmacy.api.basic;

import com.baomidou.mybatisplus.core.metadata.OrderItem;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.io.Serializable;
import java.util.Arrays;

public class BasicPage<T> extends Page<T> implements Serializable {

    private static final long serialVersionUID = 1L;

    public Page<T> toPage() {
        Page<T> page = new Page<T>(this.current, this.size);
        return page;
    }
}
